home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / plaf / basic / BasicEditorPaneUI.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  745 b   |  23 lines

  1. package javax.swing.plaf.basic;
  2.  
  3. import javax.swing.JComponent;
  4. import javax.swing.JEditorPane;
  5. import javax.swing.plaf.ComponentUI;
  6. import javax.swing.text.EditorKit;
  7. import javax.swing.text.JTextComponent;
  8.  
  9. public class BasicEditorPaneUI extends BasicTextUI {
  10.    public static ComponentUI createUI(JComponent var0) {
  11.       return new BasicEditorPaneUI();
  12.    }
  13.  
  14.    public EditorKit getEditorKit(JTextComponent var1) {
  15.       JEditorPane var2 = (JEditorPane)((BasicTextUI)this).getComponent();
  16.       return var2.getEditorKit();
  17.    }
  18.  
  19.    protected String getPropertyPrefix() {
  20.       return "EditorPane";
  21.    }
  22. }
  23.